<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-success" href="#"><i class="icon-edit"></i> 编辑</a>
		<a class="btn btn-danger" href="#"><i class="icon-remove"></i> 删除</a>
	</div>
</div>
<table cellpadding="1" cellspacing="1" class="table table-bordered">
	<thead>
		<tr class="ui-widget-header">
			<th>证书名称</th>
			<th>发放机构</th>
			<th>生效时间</th>
			<th>有效期</th>
			<th style="width: 80px;">操作</th>
		</tr>
	</thead>
	<#list pageBean.resultList as cer>
	<tr class="ui-widget-content">
		<td>${cer.name}</td>
		<td>${cer.grantOrgan}</td>
		<td><#if cer.grantTime??>${cer.grantTime?string("yyyy-MM-dd")}</#if></td>
		<td>${cer.validity}</td>
		<td>
			<div class="btn-group">
			<a class="btn btn-xs btn-success" href="javascript:;" onclick="javascript:sys_load_handle('certificates-edit_${cer.code}');" title="编辑">
				<i class="icon-edit"></i></a>
			<a class="btn btn-xs btn-danger" href="javascript:;" onclick="javascript:deleteCertificates('${cer.code}');" title="删除">
				<i class="icon-remove"></i></a></div>
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryCertificates'/>